package com.evry.spring3sandbox.domain;

public class Order {

	private Integer id;
	private Customer customer;
	private Product product;
	private Integer customerId;
	private Integer productId;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public Integer getCustomerId() {
		return customerId;
	}
	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	
	@Override
	public String toString() {
		return "Order [id=" + id + ", customer=" + customer + ", product="
				+ product + ", customerId=" + customerId + ", productId="
				+ productId + "]";
	}
	
}
